<template>
    <ul class="dropdown-menu">
        <div class="messages-menu-header">
            <div>您有<span></span>新消息和代办待办任务</div>
        </div>
        <div class="dropdown-menu-body messages-menu-xx">
            <li class="1006" v-for="msg in allMsg">
                <p>差错处理</p>
                <span>30</span>
            </li>
        </div>
        <div class="dropdown-menu-body messages-menu-xx">
        </div>
    </ul>
</template>
<script>
export default {
    name:'dropdown-menu-com',
    props:['allMsg'],
    data () {
        return {

        }
    },
    mounted () {
        // let $xxRedPoint = document.querySelector(".need-to-do .messages-menu-xx").childElementCount;
        // let $dbRedPoint = document.querySelector(".need-read .db-menu-db").childElementCount;
        // this.$emit('xxRedPoint',$xxRedPoint);
        // this.$emit('dbRedPoint',$dbRedPoint);
    }

}
</script>
<style scoped>

</style>


